#pragma once

#include "Buffer.h"

#include <functional>
#include <memory>

namespace devem {
class Connection;
using PtrConnection = std::shared_ptr<Connection>;
using ConnectedCallback = std::function<void(const PtrConnection&)>;
using MessageCallback = std::function<void(const PtrConnection&, Buffer*)>;
using ClosedCallback = std::function<void(const PtrConnection&)>;

}  // namespace devem